Component({
    properties: {
        orderStatus: {
            type: Number,
            observer: function(t, s) {
                this.data.type ? 10 == t ? this.setData({
                    title: "待确定"
                }) : this.setData({
                    title: "已确定"
                }) : this.setData({
                    title: this.data.status["status".concat(t)]
                });
            }
        },
        type: {
            type: Number,
            value: 0
        }
    },
    data: {
        title: "未付款",
        status: {
            status10: "待确定",
            status20: "待申请",
            status30: "待发货",
            status40: "待收货",
            status50: "已完成",
            status0: "未付款",
            status1: "已关闭",
            status2: "待出货",
            status3: "已完成",
            status4: "已退款",
            status5: "退款中"
        },
        doneImg: "images/wodehegui_done_icon@2x.png",
        undoneImg: "images/wodehegui_wait_icon@2x.png"
    },
    methods: {}
});